<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: onion
  Date: 2018/7/18
  Time: 23:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<header>
    <nav class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <a class="navbar-brand" href="#">XXX员工管理系统</a>
            </div>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#">
                    <c:if test="${LOGIN_USER != null}">
                        <span class="glyphicon glyphicon-user">${LOGIN_USER}, 欢迎登录</span>
                    </c:if>
                </a></li>

                <%--<li><a href="#"><span class="glyphicon glyphicon-user"></span> 退出登录</a></li>--%>
                <li><a href="logout.html"><span class="glyphicon glyphicon-log-out"></span> 退出登录</a></li>
            </ul>
        </div>
    </nav>
</header>